<?php

namespace app\models;

use yii\base\Model;
use \yii\db\ActiveRecord;

class Catalogue extends ActiveRecord{

    public function rules()
    {
        return [
            ['catalogue_name', 'trim'],
            ['catalogue_name', 'required'],
            ['catalogue_name', 'string', 'min' => 1, 'max' => 255],
        ];
    }

}